package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.BoolToStringDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-环境测试对象 data_tshj_hj
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-环境测试对象")
public class DataTshjHj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 环境测试ID */
    private Long hjId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "平板数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "平板任务ID")
    private Long taskId;

    /** 温度 */
    @Excel(name = "温度")
    @ApiModelProperty(value = "温度")
    private String wd;

    /** 湿度 */
    @Excel(name = "湿度")
    @ApiModelProperty(value = "湿度")
    private String shd;

    /** 大气压 */
    @Excel(name = "大气压")
    @ApiModelProperty(value = "大气压")
    private String dqy;

    /** 甲烷浓度 */
    @Excel(name = "甲烷浓度")
    @ApiModelProperty(value = "甲烷浓度")
    private String jwnd;

    /** 转速 */
    @Excel(name = "转速")
    @ApiModelProperty(value = "转速")
    private String zhs;

    /** 是否显示甲烷浓度(0否 1是) */
    @Excel(name = "是否显示甲烷浓度(0否 1是)")
    @ApiModelProperty(value = "是否显示甲烷浓度(0否 1是)")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String showJw;

    /** 是否显示转速(0否 1是) */
    @Excel(name = "是否显示转速(0否 1是)")
    @ApiModelProperty(value = "是否显示转速(0否 1是)")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String showZhs;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setHjId(Long hjId) 
    {
        this.hjId = hjId;
    }

    public Long getHjId() 
    {
        return hjId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setWd(String wd) 
    {
        this.wd = wd;
    }

    public String getWd() 
    {
        return wd;
    }
    public void setShd(String shd) 
    {
        this.shd = shd;
    }

    public String getShd() 
    {
        return shd;
    }
    public void setDqy(String dqy) 
    {
        this.dqy = dqy;
    }

    public String getDqy() 
    {
        return dqy;
    }
    public void setJwnd(String jwnd) 
    {
        this.jwnd = jwnd;
    }

    public String getJwnd() 
    {
        return jwnd;
    }
    public void setZhs(String zhs) 
    {
        this.zhs = zhs;
    }

    public String getZhs() 
    {
        return zhs;
    }
    public void setShowJw(String showJw) 
    {
        this.showJw = showJw;
    }

    public String getShowJw() 
    {
        return showJw;
    }
    public void setShowZhs(String showZhs) 
    {
        this.showZhs = showZhs;
    }

    public String getShowZhs() 
    {
        return showZhs;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("hjId", getHjId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("wd", getWd())
            .append("shd", getShd())
            .append("dqy", getDqy())
            .append("jwnd", getJwnd())
            .append("zhs", getZhs())
            .append("showJw", getShowJw())
            .append("showZhs", getShowZhs())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
